package com.opennews.openplatform.config;

import com.opennews.openplatform.myspringbootmvccore.helper.HttpResponseHelper;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class HttpResponseHelperConfig {
    @Bean
    public HttpResponseHelper httpResponseHelper(HttpServletResponse response) {
        return new HttpResponseHelper(response);
    }
}
